<link rel="stylesheet" href="https://file.viplgw.cn/ui/public/css/timetable.css?v=1">
<div class="ucenterRight" style="height: auto">

    <table class="timetable">
        <thead>
        <tr>
            <th>上课时间</th>
            <th>课程名</th>
            <th>上课链接</th>
            <th>密码</th>
            <th>上课资料</th>
        </tr>
        </thead>
        <tbody>
        <?php if($content!=false){
            foreach ($content as $k => $v) { ?>
                <tr>
                    <th><?php echo $v['date'] . ' ' . $v['time'] ?></th>
                    <th><?php echo $v['subject'] ?></th>
                    <th class="link_th"><a
                            href="<?php echo 'https://live.thinkwithu.com/watch/' . $v['room']['watch'] . '.html' ?>" target="_blank">进入教室</a>
                    </th>
                    <th><?php echo $v['room']['studentWord'] ?></th>
                    <th class="info_name">
                        <?php if ($v['material'] != false) {
                            foreach ($v['material'] as $key => $value) {
                                echo '<a href="' . $value['url'] . '" target="_blank">' . $value['name'] . '</a>';
                            }
                        } ?>
                    </th>
                </tr>
            <?php }
        } ?>
        </tbody>
    </table>
</div>
